package com.heima.model.wemedia.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 自媒体子账号权限信息表
 *
 * @TableName wm_user_auth
 */
@TableName(value = "wm_user_auth")
@Data
public class WmUserAuth implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Object id;

    /**
     * 账号ID
     */
    @TableField(value = "user_id")
    private Object userId;

    /**
     * 资源类型
     * 0 菜单
     * 1 频道
     * 2 按钮
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 资源名称
     */
    @TableField(value = "name")
    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}